﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using System.Threading.Tasks;
using Hopscotch.Common.Contracts.AppService;
using Hopscotch.Common.Services.Wcf;
using Hopscotch.Domain.Finance;

namespace Hopscotch.Common.Communication.WcfClients
{
    public class TradeServiceClient : DomainServiceClient<Trade, int>, ITradeService
    {
        private readonly IClientProxyFactory<ITradeService> tradeServiceFactory;

        public TradeServiceClient(IClientProxyFactory<ITradeService> tradeServiceFactory)
            : base(tradeServiceFactory)
        {
            this.tradeServiceFactory = tradeServiceFactory;
        }

    }
}
